import Main from "@/components/Main";
import Mall from "@/views/MallManage/GoodLists/GoodsList";
import Malls from '@/views/MallManage/Orders/Orders'
export default [{
    path: '/mallManage',
    name: 'mallManage',
    component: Main,
    redirect: "/goodList",
    children: [
        {
            path: '/goodList',
            name: 'goodList',
            component: Mall,
            meta: {
                keepAlive: false, // 是否需要缓存
                requiresAuth: true, // 是否需要身份验证
                tagNav: true, // 是否需要显示在tag列表中
                title: "商品清单", // tag标题
            }
        },
        {
            path: '/orders',
            name: 'Orders',
            component: Malls,
            meta: {
                keepAlive: false, // 是否需要缓存
                requiresAuth: true, // 是否需要身份验证
                tagNav: true, // 是否需要显示在tag列表中
                title: "订单管理", // tag标题
            }
        },
    ]
}];